package cn.smilefox.dao;

import cn.smilefox.domain.Teacher;

import java.util.List;

public interface TeacherDao {
    public List<Teacher> findall();

    Long save( Teacher teacher);

    void saveTeacherRoleRel(Long id, Long[] roleIds);

    void delTeacherRoleRel(Long teacherId);

    void del(Long teacherId);

    public List<Teacher> find(Teacher teacher);

    List<Teacher> findTeacherById(Long id);

    List<Teacher> findTeacherById2(Long id);

}
